/**
 * 
 */
package com.dp.struct.facade;

/**
 * @author Sunaina.Sharma
 * 
 */
public class HomeTheaterFacade {
	Light light;
	Switch switches;
	TV tv;

	HomeTheaterFacade(Light light, Switch switches, TV tv) {
		this.light = light;
		this.switches = switches;
		this.tv = tv;
	}

	/**
	 * @param movie
	 */
	public void watchMovie(String movie) {
		light.on();
		switches.on();
		tv.on();
	}

	/**
	 * @param movie
	 */
	public void endMovie(String movie) {
		light.off();
		switches.off();
		tv.off();
	}
}
